Tcl_Interp *_i_n_t_e_r_p (in) Interpreter to use for error
reporting.
Tk_Window _t_k_w_i_n (in) Token for window in which the
visual will be used.
char *_s_t_r_i_n_g (in) String that identifies the desired
visual. See below for valid
formats.
int *_d_e_p_t_h_P_t_r (out) Depth of returned visual gets
stored here.
Colormap *_c_o_l_o_r_m_a_p_P_t_r (out) If non-NULL then a suitable
colormap for visual is found and
its identifier is stored here.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll takes a string description of a visual and finds a suitable
X Visual for use in _t_k_w_i_n, if there is one. It returns a pointer to the
X Visual structure for the visual and stores the number of bits per pixel
for it at *_d_e_p_t_h_P_t_r. If _s_t_r_i_n_g is unrecognizable or if no suitable
visual could be found, then NULL is returned and TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll leaves an
error message in _i_n_t_e_r_p->_r_e_s_u_l_t. If _c_o_l_o_r_m_a_p is non-NULL then
TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll also locates an appropriate colormap for use with the result
visual and stores its X identifier at *_c_o_l_o_r_m_a_p_P_t_r.
The _s_t_r_i_n_g argument specifies the desired visual in one of the following
ways:
_c_l_a_s_s _d_e_p_t_h The string consists of a class name followed by an integer
depth, with any amount of white space (including none) in
between. _c_l_a_s_s selects what sort of visual is desired and
must be one of ddddiiiirrrreeeeccccttttccccoooolllloooorrrr, ggggrrrraaaayyyyssssccccaaaalllleeee, ggggrrrreeeeyyyyssssccccaaaalllleeee,
ppppsssseeeeuuuuddddooooccccoooolllloooorrrr, ssssttttaaaattttiiiiccccccccoooolllloooorrrr, ssssttttaaaattttiiiiccccggggrrrraaaayyyy, ssssttttaaaattttiiiiccccggggrrrreeeeyyyy, or
ttttrrrruuuueeeeccccoooolllloooorrrr, or a unique abbreviation. _d_e_p_t_h specifies how
many bits per pixel are needed for the visual. If
possible, TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll will return a visual with this
depth; if there is no visual of the desired depth then
TTTTkkkk____GGGGeeeettttVVVViiiissssuuuuaaaallll looks first for a visual with greater depth,